﻿namespace Robotec.NET.Application;

/// <summary>
/// 页面统一配置输出参数
/// </summary>
public class SysPageOptionConfigOutput:BaseOutput
{
    /// <summary>
    /// 表格高度
    /// </summary>
    public string? height { get; set; }
    
    /// <summary>
    /// 搜索菜单栏的栅格宽度
    /// </summary>
    public int? searchMenuSpan { get; set; }
    
    /// <summary>
    /// 列表行操作栏宽度
    /// </summary>
    public int? menuWidth { get; set; }
    
    /// <summary>
    /// 搜索框长度
    /// </summary>
    public int? searchSpan { get; set; }
    
    /// <summary>
    /// 列宽
    /// </summary>
    public int? labelWidth { get; set; }
    
    /// <summary>
    /// 搜索按钮
    /// </summary>
    public bool? searchIcon { get; set; }
    
    /// <summary>
    /// 打印按钮
    /// </summary>
    public bool? printBtn { get; set; }
    
    /// <summary>
    /// 导出按钮
    /// </summary>
    public bool? excelBtn { get; set; }
    
    /// <summary>
    /// 保存按钮
    /// </summary>
    public bool? saveCustomBtn { get; set; }
    
    /// <summary>
    /// 编辑按钮
    /// </summary>
    public bool? editCustomBtn { get; set; }
    
    /// <summary>
    /// 删除按钮
    /// </summary>
    public bool? delCustomBtn { get; set; }
    
    /// <summary>
    /// 查看按钮
    /// </summary>
    public bool? viewBtn { get; set; }
    
    /// <summary>
    /// 新增按钮
    /// </summary>
    public bool? addCustomBtn { get; set; }
    
    /// <summary>
    /// 数据为空的提示
    /// </summary>
    public string? emptyText { get; set; }
    
    /// <summary>
    /// 编辑按钮描述
    /// </summary>
    public string? editCustomText { get; set; }
    
    /// <summary>
    /// 保存按钮描述
    /// </summary>
    public string? saveCustomText { get; set; }
    
    /// <summary>
    /// 新增按钮描述
    /// </summary>
    public string? addCustomText { get; set; }
    
    /// <summary>
    /// 删除按钮描述
    /// </summary>
    public string? delCustomText { get; set; }
    
    /// <summary>
    /// 列表行操作栏显示
    /// </summary>
    public bool? menu { get; set; }
    
    /// <summary>
    /// 顶部过滤按钮
    /// </summary>
    public bool? filterBtn { get; set; }
    
    /// <summary>
    /// 列表边框
    /// </summary>
    public bool? border { get; set; }
    
    /// <summary>
    /// 勾选框
    /// </summary>
    public bool? selection { get; set; }
    
    /// <summary>
    /// 展开行
    /// </summary>
    public bool? expand { get; set; }
    
    /// <summary>
    /// 列表多选
    /// </summary>
    public bool? tableMultiple { get; set; }

    /// <summary>
    /// 行禁用逻辑
    /// </summary>
    public string selectable { get; set; }

    /// <summary>
    /// 保存按钮/取消按钮
    /// </summary>
    public bool? cellBtn { get; set; }
    
    /// <summary>
    /// 行拖拽
    /// </summary>
    public bool? rowSort { get; set; }
    
    /// <summary>
    /// 新增按钮图标
    /// </summary>
    public string? addCustomIcon { get; set; }
    
    /// <summary>
    /// 配置按钮
    /// </summary>
    public bool? settingBtn { get; set; }
    
    /// <summary>
    /// 删除按钮图标
    /// </summary>
    public string? delCustomIcon { get; set; }
    
    /// <summary>
    /// 列表主键
    /// </summary>
    public string? rowKey { get; set; }
    
    /// <summary>
    /// 翻页勾选/保留之前的勾选
    /// </summary>
    public bool? reserveSelection { get; set; }
    
    /// <summary>
    /// 表格弹窗是否可以通过点击modal关闭
    /// </summary>
    public bool? dialogClickModal { get; set; }
    
    /// <summary>
    /// 排序
    /// </summary>
    [SugarColumn(IsJson =true)]
    public object defaultSort { get; set; } 
    
    /// <summary>
    /// 弹出框拖拽
    /// </summary>
    public bool? dialogDrag { get; set; }
    
    /// <summary>
    /// 弹出框样式
    /// </summary>
    public string? dialogDirection { get; set; }
    
    /// <summary>
    /// 弹出框样式类型
    /// </summary>
    public string? dialogType { get; set; }
    
    /// <summary>
    /// 编辑按钮图标
    /// </summary>
    public string? editCustomIcon { get; set; }
    
    /// <summary>
    /// 保存按钮图标
    /// </summary>
    public string? saveCustomIcon { get; set; }
    
    /// <summary>
    /// 列表拖拽
    /// </summary>
    public bool? sortable { get; set; }
    
    /// <summary>
    /// 索引名称
    /// </summary>
    public string? indexLabel { get; set; }
    
    /// <summary>
    /// 弹框宽度
    /// </summary>
    public string? dialogWidth { get; set; }
    
    /// <summary>
    /// 表格高度差
    /// </summary>
    public int? calcHeight { get; set; }
    
    /// <summary>
    /// 表单栏间距
    /// </summary>
    public int? gutter { get; set; }
    
    /// <summary>
    /// 首次加载是否显示搜索
    /// </summary>
    public bool? searchShow { get; set; }
    
    /// <summary>
    /// 表头对其
    /// </summary>
    public string? headerAlign { get; set; }
    
    /// <summary>
    /// 内容对其
    /// </summary>
    public string? align { get; set; }
    
    /// <summary>
    /// 展开树
    /// </summary>
    public bool? tree { get; set; }
    
    /// <summary>
    /// 最多展开层
    /// </summary>
    public int? expandLevel { get; set; }
    
    /// <summary>
    /// 配置代码
    /// </summary>
    public string? configCode { get; set; }
    
    /// <summary>
    /// 序号
    /// </summary>
    public bool? index { get; set; }
    
    /// <summary>
    /// Id
    /// </summary>
    public long? Id { get; set; }
    
    /// <summary>
    /// 路由路径
    /// </summary>
    public string? configPath { get; set; }
    
    /// <summary>
    /// 配置名称
    /// </summary>
    public string? configName { get; set; }
    
    }
 

